﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace lazy01
{
    class BlacksmithNPC : NPC
    {
        private string forge;
        public BlacksmithNPC(string name,NPCtype type,string forge):base(name,type) {
            this.forge = forge;
        }
        public override void talk()
        {
            Console.WriteLine("需要修补什么吗？");
            Console.WriteLine("{2}NPC:{0},可以:{1}",base.Name,this.forge,NPCtype.Blacksmith);
        }
    }
    class BlacksmithNPC1 : NPC
    {
        private string forge;
        public BlacksmithNPC1(string name, NPCtype type, string forge) : base(name, type)
        {
            this.forge = forge;
        }
        public override void talk()
        {
            Console.WriteLine("需要强化什么吗？");
            Console.WriteLine("{2}NPC:{0},可以:{1}", base.Name, this.forge, NPCtype.Blacksmith);
        }
    }
    class BlacksmithNPC2 : NPC
    {
        private string forge;
        public BlacksmithNPC2(string name, NPCtype type, string forge) : base(name, type)
        {
            this.forge = forge;
        }
        public override void talk()
        {
            Console.WriteLine("需要打造什么吗？");
            Console.WriteLine("{2}NPC:{0},可以:{1}", base.Name, this.forge, NPCtype.Blacksmith);
        }
    }
}
